package sunwin.yoms.service.rmiServer;

import jodd.datetime.JDateTime;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Created by Jao on 15/11/27.
 */
@Component
public interface ISubscribeOrder {
    void cancelSubscribe(int uid, int sid, JDateTime dateTime) throws Exception;

    void cancelSubscribe(int sid, Date date, long timeSpanLong) throws Exception;

    void cancelSubscribe(int uid, int sid, Date date, long timeSpanLong) throws Exception;

    void batchCancelSubscribe(int uid, int sid, JDateTime startDate, JDateTime endDate) throws Exception;

    void cancelSubscribeDay(int uid, int sid, JDateTime date) throws Exception;

}
